//
//  CDNavigationController.m
//  CuriosityDaily3
//
//  Created by JSY on 16/9/23.
//  Copyright © 2016年 theBestTeam. All rights reserved.
//

#import "CDNavigationController.h"

@interface CDNavigationController ()

@end

@implementation CDNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
//    [self setNbar];
}
/**
 *  设置navBar的标题颜色为白色
 */
- (void)setNbar {
    self.navigationBar.titleTextAttributes = @{ NSForegroundColorAttributeName: [UIColor whiteColor] };
    self.navigationBar.translucent = YES;
    [self.navigationBar setShadowImage:[UIImage new]];
    [self.navigationBar setBackgroundImage:[UIImage new] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}
@end
